#!bin/bash

# create files

for i in {1..30}; do touch file$i.txt; done

for i in {1..30}; do touch file$i.img; done

# echo list files ending with 1-9 .txt
ls files/file[1-9].txt

# echo list 1-9 for both .txt and .img
ls files/file[1-9].{txt,img}
